Skip to content

Upgrade playground Playwright to 1.62.1; e2e on @next (Firefox r1544) - #318

Merged
mxschmitt merged 8 commits into
mainfrom
cursor/upgrade-playwright-4443
Sep 10, 2026
Merged

Upgrade playground Playwright to 1.62.1; e2e on @next (Firefox r1544)#318
mxschmitt merged 8 commits into
mainfrom
cursor/upgrade-playwright-4443

Conversation

@mxschmitt

@mxschmitt mxschmitt commented Sep 3, 2026

Copy link
Copy Markdown
Owner

Playground workers, types, and README stay on Playwright 1.62.x. E2E tests now use @playwright/test@next (1.64.0-alpha-2026-09-10) so they pick up Firefox r1544 from microsoft/playwright#42631, which is not in latest (1.63.0 / firefox-1543).

That Firefox roll is the fix for the Monaco ts.worker SIGSEGV on share+reload (microsoft/playwright#42565). The Editor no longer special-cases Firefox.

Frontend component tests stay on @playwright/experimental-ct-react@1.62.1. There is no matching CT package on the 1.64 alpha line, and overriding playwright-core to 1.64 while CT is 1.62 breaks Vite transform (?raw / CSS modules).

Pinned the e2e version to the resolved @next dist-tag rather than the floating next range so CI stays reproducible until 1.64 ships.

Frontend production tsc now excludes *.spec.ts(x) so the Docker image build does not typecheck CT tests. After the 1.62.1 lockfile, playwright is nested under @playwright/experimental-ct-core, which made import type { Page } from 'playwright/test' fail npm run build.

CI installs k3s v1.36.4+k3s1 (same release last green test job used) so the installer does not query update.k3s.io, which currently presents a self-signed certificate and caused the test job to fail before e2e ran.

Test plan

  • npm install in e2e/ resolves playwright-core 1.64.0-alpha with Firefox revision 1544
  • cd frontend && npm run build (tsc && vite build)
  • Frontend CT Chromium App specs
  • CI build (frontend) Docker image
  • CI e2e (k3s) on Firefox, including share URL reload / visual tests
  • Frontend CT in CI (1.62.1)
Open in Web Open in Cursor 

@mxschmitt
mxschmitt marked this pull request as ready for review September 3, 2026 19:14
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-03T19:18:29.431713Z 07a6df0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

cursoragent and others added 4 commits September 4, 2026 21:55
Bump Playwright workers, editor types, and npm packages via update_pw.mjs.

Co-authored-by: Max Schmitt <max@schmitt.mx>
…itor 0.56

TypeScript 7 removes node10 module resolution and esModuleInterop=false.
Monaco 0.56 remaps package exports, so worker and API imports need the new paths.

Co-authored-by: Max Schmitt <max@schmitt.mx>
Playwright 1.62 ships Firefox 153, which crashes the tab when Monaco
creates its TypeScript language worker a second time after navigation.
Skip that worker (and extra libs) on Firefox, dispose the editor on
unload, and keep monaco-editor on 0.55.1.

Co-authored-by: Max Schmitt <max@schmitt.mx>
E2E and frontend component tests stay on Playwright 1.60 (Firefox 150) to
avoid the Firefox 153 worker-reload SIGSEGV. Worker images, editor types,
and the README badge remain on 1.62.x.

Co-authored-by: Max Schmitt <max@schmitt.mx>
@cursor
cursor Bot force-pushed the cursor/upgrade-playwright-4443 branch from 2f58c4f to 6a49dff Compare September 4, 2026 21:58
@cursor cursor Bot changed the title chore: update Playwright to 1.62.1 and dependencies chore: bump playground Playwright to 1.62.x, keep @playwright/test at 1.60 Sep 4, 2026
cursoragent and others added 2 commits September 5, 2026 04:10
E2E stays on @playwright/test 1.60 (Firefox 150), so the share-reload
SIGSEGV does not apply to CI. Production Firefox 153+ can still hit
microsoft/playwright#42565 on reload while the worker compiles.

Co-authored-by: Max Schmitt <max@schmitt.mx>
microsoft/playwright#42631 is on @next, not 1.63.0. Frontend CT stays on 1.62.1 because experimental-ct-react has no matching 1.64 package.

Co-authored-by: Max Schmitt <max@schmitt.mx>
@cursor cursor Bot changed the title chore: bump playground Playwright to 1.62.x, keep @playwright/test at 1.60 Upgrade playground Playwright to 1.62.1; e2e on @next (Firefox r1544) Sep 10, 2026
cursoragent and others added 2 commits September 10, 2026 17:18
npm ci with experimental-ct-react 1.62.1 nests playwright, so tsc cannot resolve playwright/test from App/index.spec.tsx during the Docker npm run build.

Co-authored-by: Max Schmitt <max@schmitt.mx>
The channel API currently presents a self-signed certificate, so the installer fell back to tag "stable" and the test job never ran e2e.

Co-authored-by: Max Schmitt <max@schmitt.mx>
@mxschmitt
mxschmitt merged commit b9f5465 into main Sep 10, 2026
11 checks passed
@mxschmitt
mxschmitt deleted the cursor/upgrade-playwright-4443 branch September 10, 2026 17:51
@flakiness-io

flakiness-io Bot commented Sep 10, 2026

Copy link
Copy Markdown

Test Results Summary

This comment shows the latest test results for this pull request.

Commit Status Test Results CI Runs
6c36302 Passed 50 passed · 1 flaky 1 runs
⚠️ 1 flaky

⚠️ Ubuntu 24.04 · firefox e2e/tests/visual.spec.ts:137 › should handle platform core related features › should handle the timeout correctly

View full report

ℹ️ About Flakiness.io in GitHub

Your team has set up Flakiness.io pull request comments. This comment is updated when

  • The first test results arrive for this pull request
  • A later run reports more results for the same commit
  • A new commit is pushed and tested

Flakiness.io rewrites the comment in place, so it always reflects the most recently tested commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants